<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../00-source//jquery.min.js"></script>
</head>
<body>
    <div id="box">
        <div>1111

            <p>2222
                <span>3333</span>
            </p>
        </div>
    </div>
    <input type="text" value="123123"/>
    <script>
        // html()  === innerHTML,可以通过传参的方式赋值
        console.log($('#box').html());

        // text() === innerText
        console.log($('#box').text());

        // val() === value
        console.log($('input').val());

    </script>
</body>
</html>